<?php

namespace app\index\model;

use think\Model;

class OperateLog extends Model
{
    protected $pk = 'id';

    public function getValueAttr($value)
    {
        if($value > 0)
            return '+' . $value;
        else
            return $value;
    }
}
